<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TurtleDB: ca.uqac.dim.turtledb.XmlQueryParser Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TurtleDB
   
   </div>
   <div id="projectbrief">A mini distributed database system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.turtledb.XmlQueryParser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::turtledb::XmlQueryParser" -->
<p><a href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><b>ParseException</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af45aba32674228c6538d7055ea6e0c6d">parse</a> (String s)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#abf6448147479980409aad1b03973f16c">parse</a> (Document doc)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td colspan="2"><h2><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#ad1bd2c4f2ebf56f03a79d64b5c0bcea6">parse</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a82432bb6e481389dc5e7ce9e7f79c0a7">parseSelection</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af4bf6881cd08e98b8983b293b42d9338">parseProjection</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a77640ae4a49cff2d914351080ef1e826">parseUnion</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a45d3e3781d17c282caba0a2c4a5ecbfe">parseIntersection</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a8e21a91121539f67a814efef10822db4">parseProduct</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a27d80682bbafcc426244da865b0746b6">parseJoin</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_condition.html">Condition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a9159995fce11b75b9e42bf35dbb9ac8f">parseCondition</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_condition.html">Condition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a18a84cdd0f9b6fcb7326d4a7e33d6eb0">parseNAryCondition</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_condition.html">NAryCondition</a> c, Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_equality.html">Equality</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a56826856d4e7376518b1dfa3ec7cd5fa">parseEquality</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#ad748c6c41e3d4e80d06d51fac3bdce52">parseAttribute</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a7edd33f9f801afd27ef02f1fd780ffaa">parseVariableTable</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_table.html">Table</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a309204e090ef3db07832361e1d986668">parseTable</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#ac06fc0f5edfc92be143e2d756e2a9391">parseValue</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#adf09201d21e9053af2a76a608285dc41">parseTuple</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a7d8c7b2bd4e9d833c98231d5ec43a656">parseSchema</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Facilities to build relational queries from an XML representation. The <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html">XmlQueryParser</a> works in pair with the <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_formatter.html">XmlQueryFormatter</a>; more precisely, for any <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <code>r</code>, we should have that <code> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af45aba32674228c6538d7055ea6e0c6d">XmlQueryParser.parse</a>(XmlQueryFormatter.toXmlDocument(r)) == r </code> </p>
<dl class="author"><dt><b>Author:</b></dt><dd>sylvain </dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00038">38</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af45aba32674228c6538d7055ea6e0c6d"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parse" ref="af45aba32674228c6538d7055ea6e0c6d" args="(String s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af45aba32674228c6538d7055ea6e0c6d">ca.uqac.dim.turtledb.XmlQueryParser.parse</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Builds a query from a string </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>A string containing an XML representation of the query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The query </dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00045">45</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="abf6448147479980409aad1b03973f16c"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parse" ref="abf6448147479980409aad1b03973f16c" args="(Document doc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af45aba32674228c6538d7055ea6e0c6d">ca.uqac.dim.turtledb.XmlQueryParser.parse</a> </td>
          <td>(</td>
          <td class="paramtype">Document&#160;</td>
          <td class="paramname"><em>doc</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Builds a query from a DOM document </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>A DOM document containing an XML representation of the query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The query </dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00078">78</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad1bd2c4f2ebf56f03a79d64b5c0bcea6"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parse" ref="ad1bd2c4f2ebf56f03a79d64b5c0bcea6" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af45aba32674228c6538d7055ea6e0c6d">ca.uqac.dim.turtledb.XmlQueryParser.parse</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an operand. XML syntax: </p>
<pre>
 &lt;operand&gt;
   &lt;x&gt;&lt;/x&gt;
 &lt;/operand&gt;
 </pre><p> where <code>x</code> is either <code>intersection</code>, <code>union</code>, <code>selection</code>, <code>projection</code> or <code><code>table</code>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
<p></code></p>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00095">95</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad748c6c41e3d4e80d06d51fac3bdce52"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseAttribute" ref="ad748c6c41e3d4e80d06d51fac3bdce52" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#ad748c6c41e3d4e80d06d51fac3bdce52">ca.uqac.dim.turtledb.XmlQueryParser.parseAttribute</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an attribute. XML syntax: </p>
<pre>
 &lt;attribute&gt;<em>name</em>&lt;/attribute&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00445">445</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a9159995fce11b75b9e42bf35dbb9ac8f"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseCondition" ref="a9159995fce11b75b9e42bf35dbb9ac8f" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_condition.html">Condition</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a9159995fce11b75b9e42bf35dbb9ac8f">ca.uqac.dim.turtledb.XmlQueryParser.parseCondition</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an equality. XML syntax: </p>
<pre>
 &lt;condition&gt;
   &lt;x&gt;&lt;/x&gt;
 &lt;/condition&gt;
 </pre><p> where <code>x</code> is <code>equals</code> (no other conditions implemented at the moment). </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00358">358</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a56826856d4e7376518b1dfa3ec7cd5fa"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseEquality" ref="a56826856d4e7376518b1dfa3ec7cd5fa" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_equality.html">Equality</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a56826856d4e7376518b1dfa3ec7cd5fa">ca.uqac.dim.turtledb.XmlQueryParser.parseEquality</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an equality. XML syntax: </p>
<pre>
 &lt;equals&gt;
   &lt;x&gt;&lt;/x&gt;
   &lt;y&gt;&lt;/y&gt;
 &lt;/equals&gt;
 </pre><p> where <code>x</code> and <code>y</code> are either <code>attribute</code> or <code>value</code> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00409">409</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a45d3e3781d17c282caba0a2c4a5ecbfe"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseIntersection" ref="a45d3e3781d17c282caba0a2c4a5ecbfe" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a45d3e3781d17c282caba0a2c4a5ecbfe">ca.uqac.dim.turtledb.XmlQueryParser.parseIntersection</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an intersection. XML syntax: </p>
<pre>
 &lt;intersection&gt;
   &lt;operand&gt;&lt;/operand&gt;
   &lt;operand&gt;&lt;/operand&gt;
   
 &lt;/intersection&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00256">256</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a27d80682bbafcc426244da865b0746b6"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseJoin" ref="a27d80682bbafcc426244da865b0746b6" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a27d80682bbafcc426244da865b0746b6">ca.uqac.dim.turtledb.XmlQueryParser.parseJoin</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a join. XML syntax: </p>
<pre>
 &lt;join&gt;
   &lt;condition&gt;&lt;/condition&gt;
   &lt;operand&gt;&lt;/operand&gt;
   &lt;operand&gt;&lt;/operand&gt;
 &lt;/join&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00316">316</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a18a84cdd0f9b6fcb7326d4a7e33d6eb0"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseNAryCondition" ref="a18a84cdd0f9b6fcb7326d4a7e33d6eb0" args="(NAryCondition c, Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_condition.html">Condition</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a18a84cdd0f9b6fcb7326d4a7e33d6eb0">ca.uqac.dim.turtledb.XmlQueryParser.parseNAryCondition</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_condition.html">NAryCondition</a>&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00381">381</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8e21a91121539f67a814efef10822db4"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseProduct" ref="a8e21a91121539f67a814efef10822db4" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a8e21a91121539f67a814efef10822db4">ca.uqac.dim.turtledb.XmlQueryParser.parseProduct</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a Cartesian product. XML syntax: </p>
<pre>
 &lt;product&gt;
   &lt;operand&gt;&lt;/operand&gt;
   &lt;operand&gt;&lt;/operand&gt;
   
 &lt;/product&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00286">286</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="af4bf6881cd08e98b8983b293b42d9338"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseProjection" ref="af4bf6881cd08e98b8983b293b42d9338" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#af4bf6881cd08e98b8983b293b42d9338">ca.uqac.dim.turtledb.XmlQueryParser.parseProjection</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a projection. XML syntax: </p>
<pre>
 &lt;projection&gt;
   &lt;schema&gt;&lt;/schema&gt;
   &lt;operand&gt;&lt;/operand&gt;
 &lt;/projection&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00191">191</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a7d8c7b2bd4e9d833c98231d5ec43a656"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseSchema" ref="a7d8c7b2bd4e9d833c98231d5ec43a656" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a7d8c7b2bd4e9d833c98231d5ec43a656">ca.uqac.dim.turtledb.XmlQueryParser.parseSchema</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a schema. XML syntax: </p>
<pre>
 &lt;schema&gt;
   &lt;attribute&gt;&lt;/attribute&gt;
   &lt;attribute&gt;&lt;/attribute&gt;
   
 &lt;/schema&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00599">599</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a82432bb6e481389dc5e7ce9e7f79c0a7"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseSelection" ref="a82432bb6e481389dc5e7ce9e7f79c0a7" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a82432bb6e481389dc5e7ce9e7f79c0a7">ca.uqac.dim.turtledb.XmlQueryParser.parseSelection</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a selection. XML syntax: </p>
<pre>
 &lt;projection&gt;
   &lt;condition&gt;&lt;/condition&gt;
   &lt;operand&gt;&lt;/operand&gt;
 &lt;/projection&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00157">157</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a309204e090ef3db07832361e1d986668"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseTable" ref="a309204e090ef3db07832361e1d986668" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_table.html">Table</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a309204e090ef3db07832361e1d986668">ca.uqac.dim.turtledb.XmlQueryParser.parseTable</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a table. XML syntax: </p>
<pre>
 &lt;table&gt;<em>name</em>&lt;/table&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00508">508</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="adf09201d21e9053af2a76a608285dc41"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseTuple" ref="adf09201d21e9053af2a76a608285dc41" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#adf09201d21e9053af2a76a608285dc41">ca.uqac.dim.turtledb.XmlQueryParser.parseTuple</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a table tuple. XML syntax: </p>
<pre>
 &lt;tuple&gt;
   &lt;attr&gt;<em>value</em>&lt;/attr&gt;
   &lt;attr&gt;<em>value</em>&lt;/attr&gt;
   
 &lt;/tuple&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00568">568</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a77640ae4a49cff2d914351080ef1e826"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseUnion" ref="a77640ae4a49cff2d914351080ef1e826" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a77640ae4a49cff2d914351080ef1e826">ca.uqac.dim.turtledb.XmlQueryParser.parseUnion</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a union. XML syntax: </p>
<pre>
 &lt;union&gt;
   &lt;operand&gt;&lt;/operand&gt;
   &lt;operand&gt;&lt;/operand&gt;
   
 &lt;/union&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00226">226</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="ac06fc0f5edfc92be143e2d756e2a9391"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseValue" ref="ac06fc0f5edfc92be143e2d756e2a9391" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#ac06fc0f5edfc92be143e2d756e2a9391">ca.uqac.dim.turtledb.XmlQueryParser.parseValue</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a value. XML syntax: </p>
<pre>
 &lt;value&gt;<em>name</em>&lt;/value&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00547">547</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<a class="anchor" id="a7edd33f9f801afd27ef02f1fd780ffaa"></a><!-- doxytag: member="ca::uqac::dim::turtledb::XmlQueryParser::parseVariableTable" ref="a7edd33f9f801afd27ef02f1fd780ffaa" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_variable_table.html">VariableTable</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html#a7edd33f9f801afd27ef02f1fd780ffaa">ca.uqac.dim.turtledb.XmlQueryParser.parseVariableTable</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a table. XML syntax: </p>
<pre>
 &lt;table&gt;<em>name</em>&lt;/table&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_xml_query_parser_8java_source.html#l00474">474</a> of file <a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/ca/uqac/dim/turtledb/<a class="el" href="_xml_query_parser_8java_source.html">XmlQueryParser.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1turtledb.html">turtledb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_xml_query_parser.html">XmlQueryParser</a>      </li>

    <li class="footer">Generated on Tue Nov 20 2012 13:26:48 for TurtleDB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
